package com.yunche.iov.mapper;

import com.yunche.iov.entity.DeviceExtend;
import com.yunche.iov.entity.DeviceExtendExample;
import com.yunche.iov.entity.DeviceExtendWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceExtendMapper {
    int countByExample(DeviceExtendExample example);

    int deleteByExample(DeviceExtendExample example);

    int deleteByPrimaryKey(Integer deviceId);

    int insert(DeviceExtendWithBLOBs record);

    int insertSelective(DeviceExtendWithBLOBs record);

    List<DeviceExtendWithBLOBs> selectByExampleWithBLOBs(DeviceExtendExample example);

    List<DeviceExtend> selectByExample(DeviceExtendExample example);

    DeviceExtendWithBLOBs selectByPrimaryKey(Integer deviceId);

    int updateByExampleSelective(@Param("record") DeviceExtendWithBLOBs record, @Param("example") DeviceExtendExample example);

    int updateByExampleWithBLOBs(@Param("record") DeviceExtendWithBLOBs record, @Param("example") DeviceExtendExample example);

    int updateByExample(@Param("record") DeviceExtend record, @Param("example") DeviceExtendExample example);

    int updateByPrimaryKeySelective(DeviceExtendWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(DeviceExtendWithBLOBs record);

    int updateByPrimaryKey(DeviceExtend record);
}